<script>

    let items = [
        {"id":1},
        {"id":2}
    ]

</script>



<main>

    {#each items as item}
        <li>{item.id}</li>
    {/each}
    
</main>